package com.situ.day5;

public class Person /*extends Object*/{
	protected Integer id;
	protected String name;
	protected Integer age;

	public Person() {
		super();// new Object();
	}

	public Person(Integer id, String name, Integer age) {
		super();// new Object();
		this.id = id;
		this.name = name;
		this.age = age;
	}
	
	public void show() {
		// syst
		System.out.println("Person.show()");
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "Person [id=" + id + ", name=" + name + ", age=" + age + "]";
	}

}
